package blue.global.util
{
	import blue.system.model.User;
	
	/**
	 * 登录信息
	 */
	[Bindable]
	public class Login
	{
		public static var isLogin : Boolean = false;
		
		public static var user : User;
		
		public static var roleIds : String = "";
		public static var roleNames : String = "";
		
		public static var menuXml : XML;
		
		public static function login(obj : User) : void
		{
			isLogin = true;
			user = obj;
		}
		
		public static function logout() : void
		{
			isLogin = false;
			user = null;
		}
		
		public function Login()
		{
		}
	}
}